<style>
    body {
        overflow-y: hidden;
        background-color: #ffffff;
    }
    #salary_view table thead > tr > th {
        text-align: center;
        vertical-align: middle;
    }
    #salary_view table tbody td {
        text-align: center;
    }
    #salary_view table tbody > tr > td:last-child {
        font-weight: bold;
    }
</style>
<div class="container-fluid" style="margin-top: 10px;">
    <div class="row">
        <div class="col-md-12">
            {#<blockquote style="border-left:6px solid #ff9900;background-color:#009966;color:#fff;line-height:20px;height:40px;font-size:16px;">#}
                {#<p>查询工资</p>#}
            {#</blockquote>#}
            <blockquote>
                <div class="form-inline" >
                    <div class="form-group">
                        {#<label for="month">月份：</label>#}
                        {#{{ select_static('month', month, 'class': 'form-control') }}#}
                        <label for="year">年份：</label>
                        {{ select_static('year', year, 'class': 'form-control') }}
                    </div>
                    <a id="bt_view" class="btn btn-success btn-sm xh-btn-load" style="margin-left:20px;width: 80px;">查看</a>
                </div>
            </blockquote>
        </div>
    </div>
    <div class="row" id="salary_view" style="display: none;margin-top: 20px;">
        <div class="col-md-6">
            <div class="smart-widget">
                <div class="smart-widget-header">
                    <strong>总计</strong>
                </div>
                <div class="smart-widget-inner">
                    <div class="smart-widget-body">
                        <blockquote style="font-size:14px;" id="total_body">

                        </blockquote>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="smart-widget">
                <div class="smart-widget-header">
                    <strong>说明</strong>
                </div>
                <div class="smart-widget-inner">
                    <div class="smart-widget-body">
                        <blockquote style="font-size:14px;">
                            <p><b>应发工资</b> = 基本工资 + 通讯费补贴 + 加班、补贴、绩效 - 应扣</p>
                        </blockquote>
                        <blockquote style="font-size:14px;"><p><b>小计</b> = 社保 + 公积金 + 个税 + 其他</p> </blockquote>
                        <blockquote style="font-size:14px;"><p><b>薪金总额</b> = 应发工资 - 小计</p></blockquote>
                        <blockquote style="font-size:14px;"><p><b>加班、补贴、绩效</b> = 加班 + 补贴 + 绩效 + 话补</p></blockquote>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-12">
            <div class="smart-widget">
                <div class="smart-widget-header">
                    <strong id="payroll_title">

                    </strong>
                </div>
                <div class="smart-widget-inner">
                    <div class="smart-widget-body">
                        <table class="table table-hover">
                            <thead>
                                <tr class="info">
                                    <th rowspan="2">月份</th>
                                    <th rowspan="2">基本工资</th>
                                    <th rowspan="2">通讯费补贴</th>
                                    <th rowspan="2">加班、补贴、绩效</th>
                                    <th colspan="4">明细</th>
                                    <th rowspan="2">应扣</th>
                                    <th rowspan="2">应发工资</th>
                                    <th colspan="6">代扣</th>
                                    <th rowspan="2">薪金总额</th>
                                </tr>
                                <tr class="info">
                                    <th>加班</th>
                                    <th>绩效</th>
                                    <th>补贴</th>
                                    <th>话补</th>
                                    <th>其他</th>
                                    <th>社保</th>
                                    <th>公积金</th>
                                    <th>计税额</th>
                                    <th>个税</th>
                                    <th>小计</th>
                                </tr>
                            </thead>
                            <tbody id="payroll_body">

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-12">
            <div class="smart-widget">
                <div class="smart-widget-header">
                    <strong id="reimburse_title">

                    </strong>
                </div>
                <div class="smart-widget-inner">
                    <div class="smart-widget-body">
                        <table class="table table-hover">
                            <thead>
                            <tr class="info">
                                <th rowspan="2">月份</th>
                                <th colspan="7">公司费用</th>
                                <th colspan="6">差旅</th>
                                <th rowspan="2">合计</th>
                            </tr>
                            <tr class="info">
                                <th>办公用品</th>
                                <th>日常用品</th>
                                <th>图书</th>
                                <th>餐费/招待</th>
                                <th>食品</th>
                                <th>其他1</th>
                                <th>小计1</th>
                                <th>交通费</th>
                                <th>驻外补贴</th>
                                <th>住宿</th>
                                <th>油费</th>
                                <th>其他2</th>
                                <th>小计2</th>
                            </tr>
                            </thead>
                            <tbody id="reimburse_body">

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>